app.factory('LoginService', function(DaoService) {
	var loginData = {
		username : '',
		password : ''
	};

	return {
		loginModel:function(){
			return loginData;
		},
		login: function(callback) {
			DaoService.http('common/login', loginData, callback);
	    }
  };
});
